package com.aos.erp.message.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("消息记录内容——微信公众号消息")
@TableName("t_mr_content_wx_public")
public class MRContentWxPublicInfo implements Serializable {

    @ApiModelProperty(value="消息内容ID",hidden=true)
    @TableId(value = "id", type = IdType.INPUT)
    private long id = 0;
    @ApiModelProperty(value="消息记录ID",hidden=true)
    @TableField("mr_id")
    private long mrId = 0;      // 消息id
    @ApiModelProperty(value="微信模板ID",hidden=true)
    @TableField("mr_wx_template_id")
    private String mrWxTemplateId = "";
    @ApiModelProperty(value="点击消息跳转链接",hidden=true)
    @TableField("mr_url")
    private String mrUrl = "";
}
